package cn.dly.login.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Hrd
 * @since 2021-07-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="RoleAuth对象", description="")
public class RoleAuth implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色权限表的id")
    @TableId(value = "document_id", type = IdType.AUTO)
    private Integer documentId;

    @ApiModelProperty(value = "实际上是外键，但为了方便不设置约束")
    private Integer roleId;

    @ApiModelProperty(value = "实际上是外键，但为了方便不设置约束")
    private Integer authId;


}
